<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/table_jqgrid.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title></title>
    <link rel="shortcut icon" href="../../favicon.ico"> <link href="../../css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <!--bootstraptable-->
    <link href="../../js/plugins/bootstrap_table/bootstrap-table.css" rel="stylesheet">

    <link href="../../css/animate.min.css" rel="stylesheet">
    <link href="../../css/style.min862f.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>APP用户</h5>
                </div>
                <div class="ibox-content">
                     <table id="app_user" data-mobile-responsive="true"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/jquery.cookie.js?v=2.1.4"></script>
<script src="../../js/tools/jquery.ajax.js?v=2.1.4"></script>
<script src="../../js/tools/init.js?v=0.0.1"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../js/content.min.js?v=1.0.0"></script>
<script src="../../js/plugins/bootstrap_table/bootstrap-table.js"></script>
<script src="../../js/plugins/bootstrap_table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="../../js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script>
    $(document).ready(function() {
        $('#app_user').bootstrapTable({
            url: path+"/user",
            method:"GET",
            cache: false,
            showRefresh:true,
            ajaxOptions:{
                headers:{
                    'chomolungma-auth-token':$.cookie('chomolungma-auth-token')
                }
            },
            pageNumber:1,
            pageSize:3,
            search:true,
            pagination:true,
            queryParamsType:'',
            sidePagination: "server",
            queryParams: function queryParams(params) {
                return {
                    pageNo: params.pageNumber,
                    pageSize: params.pageSize
                }
            },
            responseHandler:function(res) {
                return {
                    "rows": res.data.records,
                    "total": res.data.total
                }

            },
            columns: [{
                title: '行号',//标题  可不加
                formatter: function (value, row, index) {
                    return index+1;
                }
            },{
                field: 'user_id',
                title: '账号'
            }, {
                field: 'nickname',
                title: '昵称'
            },{
                field:'create_at',
                title:'创建时间'
            }]
        });
        $(window).bind("resize",
            function() {
                var width = $(".jqGrid_wrapper").width();
               // $("#table_list_1").setGridWidth(width);

            })
    });
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/table_jqgrid.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
</html>
